//
//  DoctorInfoCell.m
//  UKanDemo
//
//  Created by liliang on 15/1/4.
//  Copyright (c) 2015年 HanYouApp. All rights reserved.
//

#import "DoctorInfoCell.h"

@implementation DoctorInfoCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setData:(NSDictionary *)dataDict
{
    NSString *headImageUrlStr = dataDict[@"headImageUrl"];
    NSString *doctorNameStr   = dataDict[@"name"];
    NSString *hospitalNameStr = dataDict[@"hospitalName"];
    
    self.headIconImageView.image = [UIImage imageNamed:headImageUrlStr];
    self.doctorNameLabel.text = doctorNameStr;
    self.doctorHospitalLabel.text = hospitalNameStr;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
